#include <iostream>
using namespace std;

class A {
public:
	//void func1 (const A* this) {}
	void func1(void) const {
		cout << "常函数" << endl;
	}
	//void func2 (A * this) {}
	void func2(void) {
		cout << "非常函数" << endl;
	}
};

int main (void) {
	A a;
	a.func1();
	a.func2();
	const A a1(a);
	a1.func1();
	//a1.func2(); //实参是常属性, 形参是非常属性
	return 0;
}
